package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 充值配置表
 * </p>
 *
 * @author Shane
 * @since 2019-08-22
 */
@TableName("recharge_config")
public class RechargeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 类型，0-android  1-ios
	 */
	@TableField(value = "`type`")
	private Integer type;

	private String pid;

	/**
	 * 套餐名称
	 */
	@TableField(value = "`name`")
	private String name;

	/**
	 * 金额，单位分
	 */
	private Integer amount;

	/**
	 * 金币数量
	 */
	private Integer coin;

	/**
	 * vip赠送金币数量
	 */
	@TableField(value="vip_given_coin")
	private Integer vipGivenCoin;

	@TableField(value = "alipay_given_coin")
	private Integer aliapyGivenCoin;

	/**
	 * 热门套餐，0-非热门  1-热门
	 */
	private Integer hot;

	/**
	 * 排序，倒序排序
	 */
	@TableField(value="order_id")
	private Integer orderId;

	/**
	 * 状态，0-未删除  1-已删除
	 */
	private Integer status;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	@TableField(value = "`group`")
	private Integer group;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getCoin() {
		return coin;
	}

	public void setCoin(Integer coin) {
		this.coin = coin;
	}

	public Integer getVipGivenCoin() {
		return vipGivenCoin;
	}

	public void setVipGivenCoin(Integer vipGivenCoin) {
		this.vipGivenCoin = vipGivenCoin;
	}

	public Integer getAliapyGivenCoin() {
		return aliapyGivenCoin;
	}

	public void setAliapyGivenCoin(Integer aliapyGivenCoin) {
		this.aliapyGivenCoin = aliapyGivenCoin;
	}

	public Integer getHot() {
		return hot;
	}

	public void setHot(Integer hot) {
		this.hot = hot;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getGroup() {
		return group;
	}

	public void setGroup(Integer group) {
		this.group = group;
	}
}
